package com.zhitan.ems.app.iot.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhitan.ems.common.annotation.Excel;
import com.zhitan.ems.framework.core.mp.base.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 设备组态图点位
 * 
 * @author zhitan
 * @email
 * @date 2025-10-28 23:01:38
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ems_device_topology_point")
public class DeviceTopologyPointEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 */
	@TableId
	@Excel(name = "")
	private Long id;
	/**
	 * 组态图ID
	 */
	@ApiModelProperty("组态图ID")
	@Excel(name = "组态图ID")
	private Long topologyId;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
	private Date createAt;
	/**
	 * 
	 */
	@Excel(name = "")
	private Integer status;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
	private Date updateAt;
	/**
	 * 组态图名称
	 */
	@ApiModelProperty("组态图名称")
	@Excel(name = "组态图名称")
	private String tName;
	/**
	 * 消息主题
	 */
	@ApiModelProperty("消息主题")
	@Excel(name = "消息主题")
	private String tTopic;
	/**
	 * 组态图宽度
	 */
	@ApiModelProperty("组态图宽度")
	@Excel(name = "组态图宽度")
	private String tWidth;
	/**
	 * 组态图高度
	 */
	@ApiModelProperty("组态图高度")
	@Excel(name = "组态图高度")
	private String tHeight;
	/**
	 * 组态图背景颜色
	 */
	@ApiModelProperty("组态图背景颜色")
	@Excel(name = "组态图背景颜色")
	private String tBackgroundColor;
	/**
	 * JSON格式的组态图数据（字符串）
	 */
	@ApiModelProperty("JSON格式的组态图数据（字符串）")
	@Excel(name = "JSON格式的组态图数据（字符串）")
	private String tJsondata;
	@ApiModelProperty("数据对应key")
	@Excel(name = "数据对应key")
	private String tNodeKey;

}